package com.dkd.manage.constant;

import java.time.LocalDateTime;

public class StatusConstant {

    //设备状态
    public static final Long VM_DISABLE = 0L;//设备异常
    public static final Long VM_NORMAL = 1L;//设备正常

    //设备运营状态
    public static final Long NOT_FOR_USE = 0L;//设备未投放
    public static final Long RUNNING = 1L;//设备运营
    public static final Long OFFLINE = 3L;//设备脱机

    //员工状态
    public static final Long EMP_DISABLE = 0L;//员工禁用
    public static final Long EMP_ENABLE = 1L;//员工启用

    //工单类型
    public static final Long FOR_USE_TASK = 1L;//投放工单
    public static final Long RESUPPLY_TASK = 2L;//补货工单
    public static final Long REPAIR_TASK = 3L;//维修工单
    public static final Long OFFLINE_TASK = 4L;//撤机工单

    //工单状态
    public static final Long TASK_IS_WAIT = 1L;//代派中
    public static final Long TASK_IS_DELIVERY = 2L;//进行中
    public static final Long TASK_IS_CANCEL = 3L;//取消
    public static final Long TASK_IS_FINISH = 4L;//完成

    public static final Long CHANNEL_DEFAULT_CAPACITY = 0L;//货道默认的容量
    public static final LocalDateTime DEFAULT_LAST_SUPPLY_TIME = LocalDateTime
            .of(2000, 1, 1, 0, 0, 0);//货道默认的上一次补货时间

}
